<?php

namespace App\model;

use Illuminate\Database\Eloquent\Model;

/**
 * App\model\Jinri
 *
 * @property int $id
 * @property string|null $key
 * @property string|null $token
 * @property int|null $project_id
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\Jinri newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\Jinri newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\Jinri query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\Jinri whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\Jinri whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\Jinri whereKey($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\Jinri whereProjectId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\Jinri whereToken($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\Jinri whereUpdatedAt($value)
 * @mixin \Eloquent
 */
class Jinri extends Model
{
    protected $table='jinri';
    public function project(){
       return $this->belongsTo(Project::class,'project_id','project_id');
    }
}
